#include "musicfile.h"

MusicFile::MusicFile(QObject *parent) : QObject(parent)
{

}

void MusicFile::setFilePath(QUrl path)
{
    m_filePath = path;
}

void MusicFile::setFileName(QString name)
{
    m_fileName = name;
}

void MusicFile::setAuthor(QString author)
{
    m_author = author;
}

void MusicFile::setAlbum(QString album)
{
    m_Album = album;
}

void MusicFile::setMins(qint64 minutes)
{
    m_mins = minutes;
}

QUrl MusicFile::getFilePath()
{
    return m_fileName;
}

QString MusicFile::getFileName()
{
    return m_fileName;
}

QString MusicFile::getAuthor()
{
    return m_author;
}

QString MusicFile::getAlbum()
{
    return m_Album;
}

qint64 MusicFile::getMins()
{
    return m_mins;
}
